package com.zhilingshenghuo.app.zhly.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class EventMsgResponse extends BaseResponse implements MultiItemEntity {

    private List<String> select;
    private int num;
    private String action;
    private int user_id;
    private String time;
    private String face;
    private String nickname;
    private String stake_score;
    private int order_id;

    public void setFace(String face) {
        this.face = face;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public String getFace() {
        return face;
    }

    public String getStake_score() {
        return stake_score;
    }

    public void setStake_score(String stake_score) {
        this.stake_score = stake_score;
    }

    public float getRob_score() {
        return rob_score;
    }

    public void setRob_score(float rob_score) {
        this.rob_score = rob_score;
    }

    public float getClaim_score() {
        return claim_score;
    }

    public void setClaim_score(float claim_score) {
        this.claim_score = claim_score;
    }

    private float rob_score;
    private float claim_score;

    public List<String> getSelect() {
        return select;
    }

    public void setSelect(List<String> select) {
        this.select = select;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Override
    public int getItemType() {
        if (action.equals("Send")) {
            return 1;
        } else {
            return 2;
        }
    }
}
